"Create-Trigger" to make new Objects Shareable?

Hi!

 

When i add new objects to a module, they are not marked as shareable section (inherited(obj) instead of specific(obj) is already checked). 

I have tried to remove the "Inherit from parent" checkbox on module level, beacuse i had expected that new objects will be specific after creation ..  (so that they are an own shareable section), but that wasn't working.

My question:

Do i need to define a create-trigger to make the new object specific? In case of yes: has someone already created such a trigger and can leave me some sources here?

Maybe s.th. like this?

 

trigger("Make objects specific", module->object, post, sync, 10, "specific current Object")

I know that this trigger fires more often than needed, but isn't it already doing what i need (make new objects specific that they will be a shareable section)? Could this cause problems?

 

With best regards,

Bjoern

 

P.S.: If someone has a better idea to do this instead of triggers please tell me :) 


Bjoern_Karpenstein - Wed Apr 05 04:37:15 EDT 2017